/* sizeof.c -- sizeof运算符和size_t类型 */

#include <stdio.h>

int main(void)
{
  int n = 0;
  size_t intsize = sizeof(int);

  printf("n = %d, it needs %zd bytes. All int needs %zd bytes to store.\n",
    n, sizeof n, intsize
  );

  return 0;
}